package com.tedu.basic.Test;
/**
       本类测试基本类型的最大最小值---
       byte
       short
       int
       long

       float
       double

       char

       boolean

 */
public class Test1_Max_Min {
    public static void main(String[] args) {


        byte bMax=Byte.MAX_VALUE;
        byte bMin=Byte.MIN_VALUE;
        short sMax=Short.MAX_VALUE;
        short sMin=Short.MIN_VALUE;
        int iMax=Integer.MAX_VALUE;
        int iMin=Integer.MIN_VALUE;
        long lMax=Long.MAX_VALUE;
        long LMin=Long.MIN_VALUE;

        float fMax=Float.MAX_VALUE;
        float fMin=Float.MIN_VALUE;
        double dMax=Double.MAX_VALUE;
        double dMin=Double.MIN_VALUE;

        char cMax=Character.MAX_VALUE;
        char cMin=Character.MIN_VALUE;

       // boolean----  true / false

        System.out.println(iMax);
        System.out.println(iMin);
        System.out.println("===============");
        System.out.println(dMax);
        System.out.println(dMin);
        System.out.println("===============");
        System.out.println(cMax);
        System.out.println(cMin);
        System.out.println("===============");

    }
}
